package org.tabletopmachine.basics;

public abstract class Conversions {
	public static de.matthiasmann.twl.Color ConvertSlickToTwlColor(org.newdawn.slick.Color slickcolor) {
		de.matthiasmann.twl.Color TwlColor;
		TwlColor = new de.matthiasmann.twl.Color((byte) slickcolor.getRedByte(), (byte) slickcolor.getGreenByte(), (byte) slickcolor.getBlueByte(),
				(byte) slickcolor.getAlphaByte());
		return TwlColor;
	}

	public static org.newdawn.slick.Color ConvertTwlToSlickColor(de.matthiasmann.twl.Color twlcolor) {
		org.newdawn.slick.Color SlickColor;
		SlickColor = new org.newdawn.slick.Color(twlcolor.toARGB());
		return SlickColor;
	}
}
